package com.gl.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gl.order.entity.OrderNumberInfo;
import com.gl.order.entity.OrderSize;
import com.gl.order.entity.dto.SizeDto;
import com.gl.order.entity.vo.SizeInfoVo;

import java.util.List;

/**
 * @Author: liangSY
 * @Date: 2021/6/26
 * @ClassName: OrderNumberInfoService
 * @Description: OrderNumberInfoService描述
 */

public interface OrderNumberInfoService extends IService<OrderNumberInfo> {

   void addOrderNum(String orderId,String orderNo,List<SizeDto> list);

   List<SizeInfoVo> getSizeVos(List<OrderSize> sizes, String orderId);

   void delByOrder(String orderId);

   /**
    *
    * @param orderId
    * @return
    */
   List<OrderNumberInfo> getByOrderId(String orderId);
}
